package creational.pattern.factory.beans;

import lombok.Data;

import java.util.UUID;

/**
 * @Author yoyuan
 * @Description:
 * @DateTime: 2023/1/8 15:39
 */

@Data
public class Bean1 implements Bean{

    String ID = UUID.randomUUID().toString();
    @Override
    public void run() {
        System.out.println("Bean1唯一的Id为：" + ID);
    }


}
